<?php


namespace app\index\model\xilujob;


use think\Model;

class PersonalMessage extends Model
{
    const TYPE_APPLY_SENT = 1; //简历投递后发给企业用户
    const TYPE_RESUME_VIEWED = 2; //简历被查看后通知个人用户
    const TYPE_APPLY_REJECTED = 3; //简历投递被拒绝后发给个人用户
    const TYPE_INTERVIEW_SENT = 4; //面试邀请发出后通知个人用户
    const TYPE_INTERVIEW_REJECTED = 5; //面试邀请被个人用户拒绝，通知企业
    const TYPE_INTERVIEW_ACCEPTED = 6; //面试邀请被个人用户确认，通知企业
    const TYPE_INTERVIEW_FAILED = 7; //面试失败， 通知用户
    const TYPE_INTERVIEW_PASSED = 8; //面试通过，通知用户
    const TYPE_JOB_SIGNUP = 10; //职位报名， 通知企业

    const TYPE_JOB_RECOMMEND = 9; // 推荐职位给用户， 不发站内消息


    protected $name = 'xilujob_personal_message';



}